/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

$(document).ready(function(){
  $('#user-add').submit(function() {
    $.post("ajax/create.jsp", $(this).serialize(), function(data){
       console.log(data);
      resetForm('#user-add');
    });
    return false;
  });
});
